/**
 * @(#)AddReserveRecordVo.java 2017年9月26日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian.channel;

import java.text.ParseException;

import org.jsbd.boss.util.DateUtil;

/**
 * 新增预留用户配置
 * 
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public class AddReserveConfigVo {

	private Integer id;
	private String mark;
	private Integer addDay;
	private String addDayStr;
	private Integer addRate;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMark() {
		return mark;
	}

	public void setMark(String mark) {
		this.mark = mark;
	}

	public Integer getAddDay() {
		return addDay;
	}

	public void setAddDay(Integer addDay) {
		this.addDay = addDay;
	}

	public Integer getAddRate() {
		return addRate;
	}

	public void setAddRate(Integer addRate) {
		this.addRate = addRate;
	}

	public String getAddDayStr() {
		try {
			if(addDay != null){
				addDayStr = DateUtil.getFutureSomeDay(addDay);
			}
		} catch (ParseException e) {
		}
		return addDayStr;
	}

	public void setAddDayStr(String addDayStr) {
		this.addDayStr = addDayStr;
	}

}
